import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'

Vue.use(VueRouter)

const routes = [

  {
    path: "/home",
    name: "home",
    component: () => import("@/views/home/index.vue")
  },
  {
    path: "/play",
    name: "play",
    component: () => import("@/views/play/index.vue")
  },
  {
    path: "/yingyuan",
    name: "yingyuan",
    component: () => import("@/views/yingyuan/index.vue")
  },
  {
    path: "/movice",
    name: "movice",
    component: () => import("@/views/movice/index.vue")
  }



]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
